-
-
Notifications
You must be signed in to change notification settings - Fork 480
feat: ✨ Update to support python 3.14 #2948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Paillat <paillat@pycord.dev>
|
Thanks for opening this pull request! This pull request can be checked-out with: git fetch origin pull/2948/head:pr-2948
git checkout pr-2948This pull request can be installed with: pip install git+https://github.com/Pycord-Development/pycord@refs/pull/2948/head |
|
Does this require anything beyond #2645? |
|
Drafting |
Signed-off-by: Lala Sabathil <lala@pycord.dev>
Maybe stuff related to voice idk |
|
|
Signed-off-by: Lala Sabathil <lala@pycord.dev>
Signed-off-by: Lala Sabathil <lala@pycord.dev>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for Python 3.14 by updating version constraints, classifiers, CI configurations, and documentation across the project.
- Updated Python version support from
<3.14to<3.15in project configuration - Added Python 3.14 to CI/CD workflows for testing and releases
- Updated documentation to reflect new version support
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Updated requires-python constraint to include 3.14, added 3.14 classifier, and added py314 to Black target versions |
| README.rst | Updated documentation to indicate Python 3.14 support |
| CHANGELOG.md | Added changelog entry documenting Python 3.14 support |
| .github/workflows/release.yml | Updated release workflow to use Python 3.14 |
| .github/workflows/lib-checks.yml | Added Python 3.14 to test matrix and updated linting jobs to use 3.14 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
w/out #2645: w/ #2645: Test Codeimport discord
import os
from dotenv import load_dotenv
import logging
logging.basicConfig(level=logging.INFO)
load_dotenv()
bot = discord.Bot()
class MyCog(discord.Cog):
@discord.Cog.listener()
async def on_ready(self):
print(f"Logged in as {bot.user} (ID: {bot.user.id})")
print("------")
bot.add_cog(MyCog())
bot.run(os.getenv("TOKEN_2"))CC @Lulalaby |
|
gotcha |
Summary
Depends on: #2645
The above pull request is required as it refactors asyncio usage in a way that does not make use of deprecated methods. See: https://docs.python.org/3.14/whatsnew/3.14.html#deprecated
Information
examples, ...).
Checklist
type: ignorecomments were used, a comment is also left explaining why.